package com.zhijiang.hospital.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zhijiang.hospital.entrty.dto.LisTestRegDto;
import com.zhijiang.hospital.entrty.dto.NucleicDto;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project demo_hesuan
 * @description
 * @date 2022-12-14 15:37:32
 */
@DS("slave_1")
public interface JiKongNucleicMapper {
    Long findNucleicCount(@RequestParam("startTime")String startTime,
                                      @RequestParam("endTime")String endTime);

    Long findNucleicPositiveCount(@RequestParam("startTime")String startTime,
                                       @RequestParam("endTime")String endTime);

    Long findNucleicNegativeCount(@RequestParam("startTime")String startTime,
                                       @RequestParam("endTime")String endTime);

    List<LisTestRegDto>  findJiKongNucleicData(@RequestParam("startTime")String startTime,
                                               @RequestParam("endTime")String endTime,
                                               @RequestParam("keyWord") String keyWord);
}
